package StructuralPattern.Composite.TransparentMode;

/**
 * @Classname : Leaf
 * @Description : 叶子节点
 * @Author : chentianyu
 * @Date 2023/2/19 15:04
 */


public class Leaf extends Component {
    public Leaf(String info) {
        super(info);
    }

    @Override
    public void addChild(Component child) {
        throw new UnsupportedOperationException();
    }

}
